<%inherit file="base.html"/>

<%block name="Content">
<div id="content">
	
	<%block name="PostAbove">
	</%block>
	
	% for article in DATA.articleList:
	<div id="post-242001" class="post type-post status-publish format-standard hentry category-daydayup">

<h2><a href="${article.permalink}">${article.title}</a></h2>
<p class="posted"><a href="/about" title="由 ${DATA.blog.bloger} 发布" rel="author">${DATA.blog.bloger}</a>, ${article.getLocalCreatedTime()}</p>

<div class="short">
<p>
	%if article.summary!=None:
			${article.summary}
		%else:
			${article.content}
		%endif
</p>
<div class="clear"></div>
<br>
</div>

<p class="posted2">Posted in <a href="/category/${article.category.name}" title="查看 ${article.category.name} 中的全部文章" rel="category">${article.category.name}</a> |   
<a href="${article.permalink}#comment" title="${article.title}上的评论">Leave a comment</a> | 
			%if len(article.getTags()):
				 <span class="tags">
					<span class="entry-utility-prep entry-utility-prep-tag-links">Tagged</span>
					% for tag in article.getTags():
						<a href="/tag/${ tag.name}" rel="tag">${ tag.name}</a>  
					% endfor
				</span>
				<!-- Tagged -->
			%endif
</p>

</div>
	% endfor
	
	<div style="clear:both;"></div>
	
	<div id="prevnext">
	% if DATA.pagination.hasPrevPage():
			<a href="?page=${DATA.pagination.getPrevNum()}" >
				<span class="meta-nav">&larr;</span> Newer posts 较早的文章</a>
				
		% endif
		% if DATA.pagination.hasNextPage():
			 - <a href="?page=${DATA.pagination.getNextNum()}" >
				Older posts 较晚的文章 <span class="meta-nav">→</span>
			</a>
		% endif
	</div>
	<!-- #nav-below -->
</div>
</%block>
